Download OpenAPI specification:
PHPR API USING API-PLATFORM
Creates a invoice_lines resource.
| id required | string invoice_lines identifier |
The new invoice_lines resource
| timestamp | string <date-time> |
| priority | integer |
| invoice | string <iri-reference> Get invoice. |
| code | string or null |
| scan | string or null Raw code scanned |
| price required | string |
| discountPrice required | string |
| number required | string Default: 1 |
| taxes required | boolean Default: true |
| type required | string <iri-reference> |
| taxCustoms | Array of strings <iri-reference> [ items <iri-reference > ] |
| product | string or null <iri-reference> |
| description | string or null |
| discountable required | boolean Default: true |
| owningCorporation | string <iri-reference> |
| convertedPrice required | string |
| notes | string or null |
| deletedAt | string or null <date-time> |
| slug required | string DB Identifier |
| customProperties | any Can contain anything (array, objects, nested objects...). |
| customData | Array of strings or null |
| createdAt | string <date-time> |
| updatedAt | string <date-time> |
| disabledAt | string or null <date-time> |
object (Collection.jsonld) | |
| upload_filename | string |
| upload_subfolder | string |
| upload_file | string |
| upload_file_link | string |
number or (unknown_type or null) or (string or null) Function to set discount prices on line, if applicable. | |
| upload_Subfolder | string |
| upload_File | string |
| upload_File_Link | string |
{- "timestamp": "2019-08-24T14:15:22Z",
- "priority": 0,
- "code": "string",
- "scan": "string",
- "price": "string",
- "discountPrice": "string",
- "number": 1,
- "taxes": true,
- "description": "string",
- "discountable": true,
- "convertedPrice": "string",
- "notes": "string",
- "deletedAt": "2019-08-24T14:15:22Z",
- "slug": "string",
- "customProperties": null,
- "customData": [
- "string"
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "disabledAt": "2019-08-24T14:15:22Z",
- "entityFiles": { },
- "upload_filename": "string",
- "upload_subfolder": "string",
- "upload_file": "string",
- "upload_file_link": "string",
- "lineDiscountPrice": 0,
- "upload_Subfolder": "string",
- "upload_File": "string",
- "upload_File_Link": "string"
}{- "@context": "string",
- "@id": "string",
- "@type": "string",
- "timestamp": "2019-08-24T14:15:22Z",
- "priority": 0,
- "invoice": {
- "@context": "string",
- "@id": "string",
- "@type": "string",
- "shortcode": "I",
- "id": 0,
- "slug": "string",
- "customProperties": null,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "uniqueId": "string",
- "taggingListing": "string"
}, - "code": "string",
- "scan": "string",
- "price": "string",
- "discountPrice": "string",
- "number": 1,
- "taxes": true,
- "type": {
- "@context": "string",
- "@id": "string",
- "@type": "string",
- "shortcode": "ILT",
- "id": 0,
- "slug": "string",
- "customProperties": null,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "uniqueId": "string",
- "taggingListing": "string"
}, - "taxCustoms": [
- {
- "@context": "string",
- "@id": "string",
- "@type": "string",
- "id": 0,
- "shortcode": "FT",
- "slug": "string",
- "customProperties": null,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "uniqueId": "string",
- "taggingListing": "string"
}
], - "product": {
- "@context": "string",
- "@id": "string",
- "@type": "string",
- "discountable": true,
- "shortcode": "A",
- "id": 0,
- "slug": "string",
- "customProperties": null,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "uniqueId": "string",
- "taggingListing": "string"
}, - "description": "string",
- "owningCorporation": {
- "@context": "string",
- "@id": "string",
- "@type": "string",
- "shortcode": "CO",
- "id": 0,
- "slug": "string",
- "customProperties": null,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "uniqueId": "string",
- "taggingListing": "string"
}, - "convertedPrice": "string",
- "notes": "string",
- "shortcode": "IL",
- "id": 0,
- "slug": "string",
- "customProperties": null,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "parent": {
- "@context": "string",
- "@id": "string",
- "@type": "string",
- "shortcode": "I",
- "id": 0,
- "slug": "string",
- "customProperties": null,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "uniqueId": "string",
- "taggingListing": "string"
}, - "taxable": true,
- "value": 0,
- "lineValue": 0,
- "convertedValue": null,
- "displayTitle": "string",
- "lineDisplayTitle": "string",
- "displayCode": "string",
- "lineDisplayCode": "string",
- "customPropertiesListing": "string",
- "uniqueId": "string",
- "total": null,
- "convertedTotal": null,
- "correction": null,
- "originalPrice": 0,
- "taggingListing": "string"
}